import request from '@/utils/request'

// 新增方案申报
export function addSchemeDeclaration(data) {
  return request({
    url: "/schemeDeclaration",
    method: "post",
    data: data,
  });
}
// 获取方案申报详细信息
export function getSchemeDeclaration(programmeId) {
  return request({
    url: '/schemeDeclaration/' + programmeId,
    method: 'get'
  })
}
// 修改方案申报
export function updateSchemeDeclaration(data) {
  return request({
    url: "/schemeDeclaration/edit/" + data.programmeId,
    method: "put",
    data:data
  });
}
// 政务清单批量导入
export function listGovernment(data) {
  return request({
    url: "/system/resources/batchFile",
    method: "post",
    data: data,
  });
}